package com.joshua.spring.constant;

/**
 * projectName dragon-cloud
 * package com.joshua.spring.constant
 * classname  ConsumerApiConstants
 * <p>
 * description 服务消费方url常量
 * </p>
 *
 * @author <a href="mailto:joshualwork@163.com">joshua_liu</a>
 * @date 2020/8/31 18:41
 */
public interface ConsumerApiConstants {
    String APPLICATION_CODE = "DRAGON-CONSUMER";
    String CONTEXT_PATH = "/dragon-consumer";
    String ID_ARRAY = "idArray";
    String QUERY_OBJ = "queryObj";
    String QUERY_MAP = "queryMap";

    /************************  APIS  *************************/
    interface Demo {
        String CONSUMER = "/consumer";
        String REMOTE_PATH_INFO = "remotePathInfo";
        String REMOTE_QUERY_OBJ = "remoteQueryObj";
        String REMOTE_ARRAY ="remoteArray";
        String REMOTE_LIST = "remoteList";
    }

    interface RestfulRule {
        String RULES = "/rules";
        String PATH_ID = "{id}";
    }

    interface Rest{
        String BASE_PATH = "/restTemplate";
        String LB0 = "lb0";
        String LB1 = "lb1";
    }

}
